/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package plains;

import java.io.Serializable;

/**
 *
 * @author enriquegozalozarzosa
 */
public class WorkerPlain implements Serializable{
   
    private Integer idWorker;
    private String name;
    private String telephone;
    private String salary;

    public WorkerPlain(String name, String telephone, String salary) {
        this.name = name;
        this.telephone = telephone;
        this.salary = salary;
    }

    public Integer getIdWorker() {
        return idWorker;
    }

    public void setIdWorker(Integer idWorker) {
        this.idWorker = idWorker;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSalary() {
        return salary;
    }

    public void setSalary(String salary) {
        this.salary = salary;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }
    
    
}
